import '../sass/nprogress.css'
import NProgress from '../static/lib/bower_components/nprogress/nprogress'
NProgress.start();
NProgress.set(0.4);
document.onreadystatechange = subSomething;
function subSomething() {
  if (document.readyState === 'complete') {
    NProgress.done();
    $(".fade").removeClass("out");
  } else {
    NProgress.inc()
  }
}
